package com.lxk.server.biz;


import com.lxk.spi.inface.Person;
import com.lxk.spi.inface.sex;

public class PersonServiceImpl implements com.lxk.spi.inface.PersonService.Iface {

    @Override
    public void savePerson(Person person) {
        System.out.println("PersonName: " + person.getPersonName());
        System.out.println("Age: " + person.getAge());
        System.out.println("PersonSex: " + person.getPersonSex());
    }

    @Override
    public Person getPerson(String personId) {
        System.out.println("personId: " + personId);
        Person person = new Person();
        person.setPersonName("personName");
        person.setAge(27);
        person.setPersonSex(sex.MALE);
        return person;
    }

}
